package com.dtease.agent.biz.agentstore.service;

import com.dtease.agent.biz.agentstore.entity.BasToolsMetaDatabase;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dtease.agent.biz.agentstore.model.BasToolsMetaDataTable;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chentl
 * @since 2025-05-07
 */
public interface IBasToolsMetaDatabaseService extends IService<BasToolsMetaDatabase> {

    void executeInTransaction(Runnable operation);

    List<BasToolsMetaDataTable> listByTableGroup();

    /**
     * 根据表归属 查询 表标签集合
     * @author chentl
     * @since 13:00 2025/5/12
     * @param tenantId tenantId
     * @param storageId storageId
     * @param databaseName databaseName
     * @param tableName tableName
     **/
    void updateTableTags(String tenantId, String storageId, String databaseName, String tableName, String value);
}
